package com.gong.application;

import org.apache.catalina.startup.UserConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/yml")
@RestController
public class ReadymlController {
    @Autowired
    private Student student;

    @RequestMapping("/yml1")
    public String yml1(){
        return student.toString();
    }

    @Autowired
    private DbType dbType;


    @RequestMapping("/yml2")
    public String yml2(){
        return dbType.toString();
    }


    @Autowired
    private UserConfig userConfig;





}
